Collection::GrowBy
Section: ET++ method description (n)
Updated: automatically Fri Mar 1 10:57:30 1991
Index
Return to Main Contents
NAME
Collection::GrowBy - instance method
TEMPLATE
checkedCapacity = int
GrowBy(int desiredSize)
SPECIFIERS
protected
virtual
DESCRIPTION
Returns the capacity this would have if it would grow by desiredSize. It is used to avoid that the size of this exceeds const cMaxInt when actually increasing the capacity with method Expand.
Method is never overridden.
ARGUMENTS
- int desiredSize
-
The number of entries the capacity of this should be expanded by.
RETURN ARGUMENT
- int checkedCapacity
-
The new range checked capacity this could have.
CATEGORIES
implementation, memory management
FIRST DEFINITION
class Collection
FILES
- implementation:
-
Collection.C
Index
- NAME
-
- TEMPLATE
-
- SPECIFIERS
-
- DESCRIPTION
-
- ARGUMENTS
-
- RETURN ARGUMENT
-
- CATEGORIES
-
- FIRST DEFINITION
-
- FILES
-
This document was created by
man2html,
using the manual pages.
Time: 00:40:30 GMT, March 30, 2022